<template>
	<view class="tab">
		<van-cell-group>
		  <van-cell
			title="用户名"
			:value="userInfo.number"
		  />
		  <van-cell
			title="推荐人账号"
			:value="userInfo.rnumber"
		  />
		  <van-cell
			title="姓名"
			:value="userInfo.cname"
			:border="false"
		  />
		</van-cell-group>
	</view>
</template>

<script>
import { mapGetters } from 'vuex';
export default {
	data() {
		return {
		};
	},
	computed: {
		...mapGetters({
			userInfo: 'getUserInfo'
		})
	},
	methods: {
		onClear () {
		},
		cRealName(e) {
			this.from.realName = e.detail
		},
		cIdCards(e) {
			this.from.idCards = e.detail
		},
		cBankCard (e) {
			this.from.bankCard = e.detail
		},
		cBankName (e) {
			this.from.bankName = e.detail
		},
		cAddr (e) {
			this.from.addr = e.detail
		}
	}
};
</script>

<style lang="scss" scoped>
	.tab {
		padding: 40upx 0;
	}
</style>
